<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>

    <style type="text/css">
        .class2{
            width:1200px;
            height: 300px;
            background-image: url(image/your_name-007.jpg);
        }
    </style>
</head>
<body>
<div class="class2">
</div>
</body>
</html>